package com.atguigu.mvc.service;

import com.atguigu.mvc.dao.EmpDao;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EmpService {

    private Logger logger = LoggerFactory.getLogger(this.getClass());

    public EmpService() {
        logger.debug("EmpService 构造器");
    }

    @Autowired
    private EmpDao empDao;

    public String getMessage() {
        return empDao.getMessage();
    }
}
